<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" name="viewport" content="width=device-width">
    <title>小说章节列表</title>
    <script>

    </script>
</head>
<body style="background-color:rgb(199,237,204)">

<div align="center">
    <form method="post" th:action="@{/admin/findByPage}">
        PID：<input type="text" name="pid" th:value="${pid}" readonly="true" /><br />
        页码：<input type="text" name="current" /><br />
        每页条数：<input type="text" name="pageSize" /><br />
        <input type="submit" value="跳转"/>
    </form>
</div>
<hr />
<table border="1"  align="center" cellpadding="0" cellspacing="0">
    <tr>
        <th>ID</th>
        <th>章节</th>
       <!-- <th>url</th>-->
        <th>操作</th>
    </tr>
    <tr th:each="e : ${list}">
        <td th:text="${e.getId()}"></td>
        <td th:text="${e.getTitle()}"></td>
       <!-- <td th:text="${e.getContentUrl()}"></td>-->
        <td>
            &nbsp;<a th:href="@{/templates/client/showContent(url=${e.getContentUrl()}, pid=${e.getPid()}, id=${e.getId()})}">查看</a>
        </td>
    </tr>
</table>
</body>
</html>